<?php
/**
 * Clase Base Bean para BaseImTransferBN
 *
 * @package    G.Exp.
 * @subpackage BaseImTransferBN
 * @author     hans
 * @version    SVN:: BaseImTransferBN.class.php,v 1.1 2012-06-08 23:42:41 Hans.parra Exp $
 */
abstract class BaseImTransferBN
{
  protected $TransferId;
  protected $DocTransfer;
  protected $DocRef;
  protected $AlmOrigenId;
  protected $AlmDestinoId;
  protected $TipoTransfer;
  protected $Estado;
  protected $Obs;
  protected $CreaUsuari;
  protected $CreaFecha;
  protected $ModiUsr;
  protected $ModiFecha;
  protected $Mensaje;
  protected $Error;

  public function getTransferId(){
    return $this->TransferId;
  }
  public function setTransferId($v1){
    $this->TransferId = $v1; 
  }

  public function getDocTransfer(){
    return $this->DocTransfer;
  }
  public function setDocTransfer($v1){
    $this->DocTransfer = $v1; 
  }

  public function getDocRef(){
    return $this->DocRef;
  }
  public function setDocRef($v1){
    $this->DocRef = $v1; 
  }

  public function getAlmOrigenId(){
    return $this->AlmOrigenId;
  }
  public function setAlmOrigenId($v1){
    $this->AlmOrigenId = $v1; 
  }

  public function getAlmDestinoId(){
    return $this->AlmDestinoId;
  }
  public function setAlmDestinoId($v1){
    $this->AlmDestinoId = $v1; 
  }

  public function getTipoTransfer(){
    return $this->TipoTransfer;
  }
  public function setTipoTransfer($v1){
    $this->TipoTransfer = $v1; 
  }

  public function getEstado(){
    return $this->Estado;
  }
  public function setEstado($v1){
    $this->Estado = $v1; 
  }

  public function getObs(){
    return $this->Obs;
  }
  public function setObs($v1){
    $this->Obs = $v1; 
  }

  public function getCreaUsuari(){
    return $this->CreaUsuari;
  }
  public function setCreaUsuari($v1){
    $this->CreaUsuari = $v1; 
  }

  public function getCreaFecha(){
    return $this->CreaFecha;
  }
  public function setCreaFecha($v1){
    $this->CreaFecha = $v1; 
  }

  public function getModiUsr(){
    return $this->ModiUsr;
  }
  public function setModiUsr($v1){
    $this->ModiUsr = $v1; 
  }

  public function getModiFecha(){
    return $this->ModiFecha;
  }
  public function setModiFecha($v1){
    $this->ModiFecha = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto Im_transferBN desde un RecordSet */
  public static function retrieveByRs( $o_Im_transferRs )
  {
    $o_ImTransferBN = new ImTransferBN();
    $o_ImTransferBN->setTransferId( $o_Im_transferRs['transferId'] );
    $o_ImTransferBN->setDocTransfer( $o_Im_transferRs['docTransfer'] );
    $o_ImTransferBN->setDocRef( $o_Im_transferRs['docRef'] );
    $o_ImTransferBN->setAlmOrigenId( $o_Im_transferRs['almOrigenId'] );
    $o_ImTransferBN->setAlmDestinoId( $o_Im_transferRs['almDestinoId'] );
    $o_ImTransferBN->setTipoTransfer( $o_Im_transferRs['tipoTransfer'] );
    $o_ImTransferBN->setEstado( $o_Im_transferRs['estado'] );
    $o_ImTransferBN->setObs( $o_Im_transferRs['Obs'] );
    $o_ImTransferBN->setCreaUsuari( $o_Im_transferRs['creaUsuari'] );
    $o_ImTransferBN->setCreaFecha( $o_Im_transferRs['creaFecha'] );
    $o_ImTransferBN->setModiUsr( $o_Im_transferRs['modiUsr'] );
    $o_ImTransferBN->setModiFecha( $o_Im_transferRs['modiFecha'] );
    return $o_ImTransferBN;
  }
}